package org.seanye.erp.view.actions;

import org.eclipse.jface.viewers.TableViewer;
import org.seanye.erp.NLSTO;
import org.seanye.erp.view.model.Store;

public class DeleteWeekAction extends AbstractAction {

    public DeleteWeekAction(TableViewer viewer, Store store) {
	super(viewer, store);
	setText(NLSTO.Command_Delete);
    }

    @Override
    protected void runInViewer() {
	getStore().delete(getCurrentStore());
    }

}
